

export default class User {
    constructor(name,age,sex){
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    getDesc(){
        return '姓名：'+this.name+'\n年龄：'+this.age+'\n性别：'+this.sex;
    }
}